<!DOCTYPE html>
<html>
<head>
    <title>旅游指南</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="description" content="">
    <link rel="stylesheet" href="lib/weui.min.css">
    <link rel="stylesheet" href="css/jquery-weui.css">
    <link rel="stylesheet" href="css/style.css">
</head>
<body ontouchstart>
<div class="swiper-container swiper-banner">
    <div class="swiper-wrapper">
        <div class="swiper-slide"><a href="nyzn_info.html"><img src="pic/banner01.jpg"/></a></div>
        <div class="swiper-slide"><a href="pro_list.html"><img src="pic/banner02.jpg"/></a></div>
        <div class="swiper-slide"><a href="nyzn_info.html"><img src="pic/banner03.jpg"/></a></div>
    </div>
    <div class="swiper-pagination"></div>
</div>
<div class="weui-content">
    <div id="list" class='demos-content-padded proListWrap'>
        <div class="pro-items">
            <a href="nyzn_info.html" class="weui-media-box weui-media-box_appmsg">
                <div class="weui-media-box__hd"><img class="weui-media-box__thumb" src="pic/cp01.jpg" alt=""></div>
                <div class="weui-media-box__bd">
                    旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南
                </div>
            </a>
        </div>
        <div class="pro-items">
            <a href="nyzn_info.html" class="weui-media-box weui-media-box_appmsg">
                <div class="weui-media-box__hd"><img class="weui-media-box__thumb" src="pic/cp02.jpg" alt=""></div>
                <div class="weui-media-box__bd">
                    旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南
                </div>
            </a>
            
        </div>
        <div class="pro-items">
            <a href="nyzn_info.html" class="weui-media-box weui-media-box_appmsg">
                <div class="weui-media-box__hd"><img class="weui-media-box__thumb" src="pic/cp02.jpg" alt=""></div>
                <div class="weui-media-box__bd">
                    旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南
                </div>
            </a>
        </div>
        <div class="pro-items">
            <a href="nyzn_info.html" class="weui-media-box weui-media-box_appmsg">
                <div class="weui-media-box__hd"><img class="weui-media-box__thumb" src="pic/cp02.jpg" alt=""></div>
                <div class="weui-media-box__bd">
                    旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南
                </div>
            </a>
        </div>
        <div class="pro-items">
            <a href="nyzn_info.html" class="weui-media-box weui-media-box_appmsg">
                <div class="weui-media-box__hd"><img class="weui-media-box__thumb" src="pic/cp02.jpg" alt=""></div>
                <div class="weui-media-box__bd">
                    旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南
                </div>
            </a>
        </div>
        <div class="pro-items">
            <a href="nyzn_info.html" class="weui-media-box weui-media-box_appmsg">
                <div class="weui-media-box__hd"><img class="weui-media-box__thumb" src="pic/cp02.jpg" alt=""></div>
                <div class="weui-media-box__bd">
                    旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南
                </div>
            </a>
        </div>
    </div>
    <div class="weui-loadmore">
        <i class="weui-loading"></i>
        <span class="weui-loadmore__tips">正在加载</span>
    </div>
</div>

<script src="lib/jquery-2.1.4.js"></script>
<script src="js/jquery-weui.js"></script>
<script src="lib/fastclick.js"></script>
<script src="js/swiper.js"></script>
<script>
    $(function() {
        FastClick.attach(document.body);
    });
    $(".swiper-banner").swiper({
        loop: true,
        autoplay: 3000
    });
    var loading = false;
    $(document.body).infinite(100).on("infinite", function () {
        if (loading) return;
        loading = true;
        setTimeout(function () {
            $("#list").append('<div class="pro-items"><a href="nyzn_info.html"class="weui-media-box weui-media-box_appmsg"><div class="weui-media-box__hd"><img class="weui-media-box__thumb"src="pic/cp02.jpg"alt=""></div><div class="weui-media-box__bd">旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南旅游指南</div></a></div>');
            loading = false;
        }, 2000);
    });
</script>
</body>
</html>
